var limsAcqConfigManufacturer = Gikam.getPageObject({

    getEditListColumns : function() {
        return [ {
            checkbox : true
        }, {
            field : 'manufacturer',
            title : 'T_LIMS_ACQ_CONFIG_MANUFACTURER.MANUFACTURER',
            editor : true,
        },{
              field : 'equiptName',
              title : 'T_LIMS_ACQ_CONFIG_MANUFACTURER.EQUIPTNAME',
              editor : true,
              validators: ['notEmpty']
          }, {
              field : 'model',
              title : 'T_LIMS_ACQ_CONFIG_MANUFACTURER.MODEL',
              editor : true,
          },{
              field : 'protocol',
              title : 'T_LIMS_ACQ_CONFIG_MANUFACTURER.PROTOCOL',
              editor : true,
          }, {
            field : 'manufacturerAddress',
            title : 'T_LIMS_ACQ_CONFIG_MANUFACTURER.MANUFACTURERADDRESS',
            editor : true,
            validators : [ 'strLength[0,80]'],
            width : 330,
        }, {
            field : 'manufacturerTel',
            title : 'T_LIMS_ACQ_CONFIG_MANUFACTURER.MANUFACTURERTEL',
            editor : true,
            validators : [ 'strLength[0,40]'],
        } ];
    },

    getBaseInfoFormFields : function() {
        return [ {
            field : 'manufacturer',
            title : 'T_LIMS_ACQ_CONFIG_MANUFACTURER.MANUFACTURER',
            validators : [ 'strLength[0,40]','notEmpty'],
            preInsert: true
        }, {
            field : 'manufacturerAddress',
            title : 'T_LIMS_ACQ_CONFIG_MANUFACTURER.MANUFACTURERADDRESS',
            validators : [ 'strLength[0,80]' ]
        }, {
            field : 'manufacturerTel',
            title : 'T_LIMS_ACQ_CONFIG_MANUFACTURER.MANUFACTURERTEL',
            validators : [ 'strLength[0,40]' ]
        } ];
    },

    getSearchListColumns : function() {
        return [ {
            checkbox : true
        }, Gikam.status.getBpmnColumn(limsAcqConfigManufacturer.workflow.dbTable), {
            field : 'manufacturer',
            title : 'T_LIMS_ACQ_CONFIG_MANUFACTURER.MANUFACTURER'
        }, {
            field : 'manufacturerAddress',
            title : 'T_LIMS_ACQ_CONFIG_MANUFACTURER.MANUFACTURERADDRESS'
        }, {
            field : 'manufacturerTel',
            title : 'T_LIMS_ACQ_CONFIG_MANUFACTURER.MANUFACTURERTEL'
        } ];
    },

    getChooseListColumns : function() {
        return [ {
            field : 'manufacturer',
            title : 'T_LIMS_ACQ_CONFIG_MANUFACTURER.MANUFACTURER'
        }, {
            field : 'manufacturerAddress',
            title : 'T_LIMS_ACQ_CONFIG_MANUFACTURER.MANUFACTURERADDRESS'
        }, {
            field : 'manufacturerTel',
            title : 'T_LIMS_ACQ_CONFIG_MANUFACTURER.MANUFACTURERTEL'
        } ];
    },

    baseUrl : IFM_CONTEXT + '/secure/basemodule/common/eptstorage/acq-config-manufacturers'
});
